function deleteRow(tableName) {
	var table = document.getElementById(tableName);
	for ( var i = 0; i < table.rows.length; i++) {
		if (table.rows.length == 1)
			break;
		var tr = tableName + "_tr_" + table.rows.length;
		var trObj = document.getElementById(tr);
		trObj.removeNode(true);
	}
}
function addRow(tableName, valueArray, customerName, customerId) {
	var table = document.getElementById(tableName);
	if(table){
		var length = table.rows.length;
		var tr = document.createElement("TR");
	　　	tr.id = tableName + "_tr_" + (length + 1);

	 	tr.onmouseover = function(){
		   changeTrColor();
		}
		tr.onmouseout = function(){
		   changeTrColor();
		}
	 	tr.title = customerName;
	　　for(i=0;i<6;i++){
			var td = document.createElement("TD");
	　　		td.id = tr.id + "_td_" + (i + 1);
			if(i==0){
				td.align = "left";
				td.innerHTML = "&nbsp;<input class='rd' type='checkbox' name='itemselect_"+customerId+"' value='"+valueArray[i]+"' />";
			}else{
				td.align = "center";
				td.appendChild(document.createTextNode(valueArray[i]));
			}
			tr.appendChild(td);
		}
	　　document.getElementById(tableName+"_tbody").appendChild(tr);
	}
}